package com.ruoyi.business.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.business.domain.ExamQuestion;
import com.ruoyi.business.domain.UserExamQuestion;
import com.ruoyi.business.domain.bo.ExamQuestionBo;
import com.ruoyi.business.domain.bo.UserExamBo;
import com.ruoyi.business.domain.bo.UserExamQuestionBo;
import com.ruoyi.business.domain.vo.QuestionVo;

import java.util.List;

/**
 * @author 最爱喝兽奶
 * @create 2022/8/12
 **/
public interface IExamQuestionService extends IService<ExamQuestion> {

    /**
     * 根据传入的试卷id和考试编号查询出考试的题目信息
     * @param bo
     * @return
     */
    List<QuestionVo> selectExamQuestionList(ExamQuestionBo bo);

    /**
     * 根据传入的考试id，查询出所有的主观题的id
     *
     * @param bo
     * @return
     */
    List<QuestionVo> selectSubjectiveQuestionsByExam(UserExamBo bo);
}
